<template>
  <div>
    <h3>Child...</h3>
    <p>content...</p>
    <button @click="handleClick">按钮</button>
  </div>
</template>

<script>
export default {
  name: "Child",
  emits: ["click"],
  methods: {
    handleClick() {
      this.$emit("click");
    },
  },
};
</script>

<style></style>
